package cate.game.train.rune.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTrain;
import cate.game.role.bag.rune.Rune;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "徽章进阶的返回")
public class RuneGradeUpResp implements MsgOutput {
    @NoteField("食灵uid")
    public String heroUid;
    @NoteField("徽章")
    public Rune rune;
    @NoteField("位置")
    public byte pos;

    public RuneGradeUpResp(){}

    public RuneGradeUpResp(String heroUid, Rune rune, byte pos) {
        this.heroUid = heroUid;
        this.rune = rune;
        this.pos = pos;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBTrain.RUNE_GRADE_UP_RESP;
    }
}
